<title>好友动态评论 设置</title>
<div class="app-header t-v bg-bai dl2 bb b-hui"><span class="header-l t-v nowrap" onclick="x.mclose();"><i
        class="icon icon-pleft f9"></i>返回</span> <span class="header-c t-v t-c nowrap">好友动态评论 设置</span> <span
        class="header-r t-v t-r nowrap" onclick=""><i class="icon  f10"></i></span></div>
<div class="app-content bg-bai">
    <form role="form" id="qqsetgn" onsubmit="return false;"><input type="hidden" name="act" value="reply"> <input
        type="hidden" name="qid" value="{$job.qid}"> <input type="hidden" name="id" value="{$job.uid}">
    <div class="p4">
        <div class="mb3 lan bold">[24H自动] 评论QQ空间好友发表的动态</div>
        <hr/>
        <div class="pt4 pb4 bold">
            <label class="i-checks"><input type="radio" value="0"
                                                                                                 name="is"
                                                                                                 {if
                                                                                                 condition="$job.start eq 0"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                           ><i></i>关闭功能</label>
            <label class="i-checks ml4"><input type="radio" value="1"
                                                                                                 name="is"
                                                                                                 {if
                                                                                                 condition="$job.start eq 1"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                               ><i></i>开启功能</label>
        </div>
        <hr/>
        <div class="pt3 pb4">
            <div class="rstxt mb3 t-v"><p class="w27 f4 bold">运行频率： <span class="hong"></span> 分钟</p>
                <p class="mt0 f2 hui dl nobold">每隔设定时间评论一次，每次评论3-5条</p></div>
            <input type="range" name="rate" min="1" max="30" step="1" {if
                                                                                                 condition="$job.rate eq ''"
                                                                                                 }
                                                                                                 value="6"
                                                                                                 {else}value="{$job.rate}"{/if} class="w b"></div>
        <hr/>
        <input type="hidden" name="xy" value="1">
        <div class="pt3 pb3">
            <div><font class="f4 bold">评论内容</font><font class="ml3 f2 hui dl">多条评论内容可使用 | 号隔开，系统每次随机选择一条</font></div>
            <div class="mt2"><textarea type="text" class="form w b" name="con" placeholder="输入你要评论的内容，留空为系统随机内容"
                                       rows="3" autocomplete="off">{$job.data}</textarea></div>
        </div>
        <div class="pt1 pb3">
            <button class="btn btn-qing btn-md w" onclick="ajax_gnset_reply();">保 存 设 置</button>
        </div>
    </div>
</div>
</form>
<script>
    $(function () {
        $('input[type="range"]').rangeslider();
    });
    function ajax_gnset_reply() {
        var data = $("#qqsetgn").serialize();
        x.ajax('{:url('mobile_ajax/gnset',['act'=>'reply'])}',data);
    }
</script>